package com.cook.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * @TableName user_constraints
 */
@TableName(value ="user_constraints")
@Data
public class UserConstraints implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long constraintId;

    private Long userId;

    private Object constraintType;

    private String constraintValue;

    private static final long serialVersionUID = 1L;
}